Skip to content

remove ENABLE_ECL_(IN|OUT)PUT options #5039

Merged
bska merged 1 commit intoOPM:masterfrom
akva2:remove_ecl_opts
Mar 9, 2026
Merged

remove ENABLE_ECL_(IN|OUT)PUT options #5039
bska merged 1 commit intoOPM:masterfrom
akva2:remove_ecl_opts

Conversation

@akva2
Copy link
Member

@akva2 akva2 commented Mar 4, 2026

having options to disable the entire point of the library is extremely painful to maintain and kinda fruitless.

I'm going to try this again. These options are painful to maintain (they are very broken again in opm-grid and have been for a while since I last fixed them). The only rationale for this is that you want to use opm-grid without ECL support.

To this end, I have instead added an option in opm-grid to build it without using opm-common data structures.
You only have to configure opm-common, not build it, and then you can build opm-grid without opm-common support, voiding the argument that 'building opm-common takes a long while'. This is necessary due to the shared build system.

Closes #1127.
Closes #1129.

@akva2
Copy link
Member Author

akva2 commented Mar 4, 2026

jenkins build this opm-grid=998 opm-simulators=6896 opm-upscaling=436 please

1 similar comment
@akva2
Copy link
Member Author

akva2 commented Mar 4, 2026

jenkins build this opm-grid=998 opm-simulators=6896 opm-upscaling=436 please

@akva2
Copy link
Member Author

akva2 commented Mar 4, 2026

jenkins build this opm-grid=998 opm-simulators=6896 opm-upscaling=436 please

@akva2 akva2 force-pushed the remove_ecl_opts branch from 9a08e86 to 9ac32fa Compare March 4, 2026 10:33
@akva2
Copy link
Member Author

akva2 commented Mar 4, 2026

jenkins build this opm-grid=998 opm-simulators=6896 opm-upscaling=436 please

Copy link
Member

@bska bska left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it and the code changes here are trivial.

The rationale against this change that was initially raised in #1127/#1129 does not apply anymore in my opinion since the Dune build system is rather different today than at that time.

I'd really like to see this go in now, but I'll hold off on merging until other maintainers have had the opportunity to comment.

@akva2 akva2 force-pushed the remove_ecl_opts branch from 9ac32fa to 4df97b0 Compare March 4, 2026 11:36
@akva2
Copy link
Member Author

akva2 commented Mar 4, 2026

jenkins build this opm-grid=998 opm-simulators=6896 opm-upscaling=436 please

@akva2 akva2 force-pushed the remove_ecl_opts branch from 4df97b0 to bffafd7 Compare March 5, 2026 07:04
@akva2
Copy link
Member Author

akva2 commented Mar 5, 2026

jenkins build this opm-grid=998 opm-simulators=6896 opm-upscaling=436 please

@akva2 akva2 force-pushed the remove_ecl_opts branch from bffafd7 to 7c6a30a Compare March 9, 2026 14:23
@akva2
Copy link
Member Author

akva2 commented Mar 9, 2026

jenkins build this opm-grid=998 opm-simulators=6896 opm-upscaling=436 please

1 similar comment
@akva2
Copy link
Member Author

akva2 commented Mar 9, 2026

jenkins build this opm-grid=998 opm-simulators=6896 opm-upscaling=436 please

having options to disable the entire point of the library is
extremely painful to maintain and kinda fruitless.
@akva2 akva2 force-pushed the remove_ecl_opts branch from 7c6a30a to b435ace Compare March 9, 2026 17:07
@akva2
Copy link
Member Author

akva2 commented Mar 9, 2026

jenkins build this opm-grid=998 opm-simulators=6896 opm-upscaling=436 please

Copy link
Member

@bska bska left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for taking on this herculean task. I'll merge into master.

@bska bska merged commit 221aac8 into OPM:master Mar 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

manual:irrelevant This PR is a minor fix and should not appear in the manual

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove conditionals ENABLE_ECL_INPUT and ENABLE_ECL_OUTPUT

2 participants